﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace SDService.Model
{
    [Table(name: "SDSysUsers")]
    public class SDSysUsers
    {
        public int Id { get; set; }// int NOT NULL PRIMARY KEY identity(1,1),
        public string LoginName { get; set; }// nvarchar(100)  NOT NULL,
        public string Password { get; set; }// varchar(100)  DEFAULT '123qwe',
        public string UserCode { get; set; }// varchar(255)  DEFAULT NULL,
        public string RoleCode { get; set; }// varchar(32)  NOT NULL,
        public string UserName { get; set; }// nvarchar(100)  DEFAULT NULL,
        public int Sex { get; set; }// int DEFAULT 1 ,
        public string Address { get; set; }// nvarchar(256) null ,
        public string Phone { get; set; }// varchar(12)  DEFAULT NULL,
        public string HeadImg { get; set; }// varchar(200)  DEFAULT NULL,
        public string Remark { get; set; }// text  ,
        public byte IsEnabled { get; set; }// tinyint DEFAULT 1 ,
        public DateTime CreateDateTime { get; set; }// datetime NOT NULL DEFAULT GETDATE() ,
        public int CreateUserId { get; set; }//int DEFAULT 0 ,

        public string Email { get; set; }// varchar(50)  DEFAULT NULL,
        public string OrgCode { get; set; }// varchar(50)  DEFAULT NULL,
    }
}
